﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface ICTBCDoanhThu
    {
        [OperationContract]
        IEnumerable<CTBCDOANHTHU> GetByAllCTBCDoanhThu();

        [OperationContract]
        String InsertCTBCDoanhThu(CTBCDOANHTHU data);

        [OperationContract]
        String UpdateCTBCDoanhThu(CTBCDOANHTHU data);

        [OperationContract]
        String DeleteCTBCDoanhThu(string id);

        [OperationContract]
        IEnumerable<CTBCDOANHTHU> GetByTopCTBCDoanhThu(string _top, string _where, string _order);

        [OperationContract]
        String ApproveCTBCDoanhThu(CTBCDOANHTHU data);
    }
}
